package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * (Notice)表实体类
 *
 * @author makejava
 * @since 2024-03-07 14:47:04
 */
@TableName(value = "notice")
@ApiModel("通知")
@Data
@SuppressWarnings("serial")
public class Notice extends Model<Notice> {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String uid;
    //标题
    @ApiModelProperty("标题")
    private String title;
    //内容
    @ApiModelProperty("标题")
    private String context;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer status;


}

